﻿@model CloudFranceTriple.Models.NewsSet

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>@CloudFranceTriple.WebRole.Properties.Resources.NewsDeleteTitle</h1>
    <section>
        <h3>@CloudFranceTriple.WebRole.Properties.Resources.QuestionDelete</h3>
        <fieldset>
            <legend>NewsSet</legend>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.NewsTitle
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Title)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.NewsText
            </div>
            <div class="display-field">
                @Html.DisplayTextFor(model => model.Text)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.NewsAuthor
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Author)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.NewsDateBegin
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.DateBegin, "TemplateUserDate")
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.NewsDateEnd
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.DateEnd, "TemplateUserDate")
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.NewsOrder
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Order)
            </div>
        </fieldset>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            <p>
                <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonDelete" />
            </p>
        }
        @Html.Partial("_NewsBackToList")
    </section>
</div>
